﻿<UserControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:ViewModels="clr-namespace:iopt.solvency.pillarone.client.desktop.ViewModels" x:Class="iopt.solvency.pillarone.client.desktop.Views.ModelExplorer" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">

	<Grid>
		<TreeView >
			<TreeViewItem Header="Modele" IsExpanded="True">
				<TreeViewItem Header="Modele de Donnees" IsExpanded="True">
					<TreeViewItem Header="Champs" />
					<TreeViewItem Header="Entités" />
					<TreeViewItem Header="Types" />
					<TreeViewItem Header="Actions" />
				</TreeViewItem>
				<TreeViewItem Header="Modeles de Compte" IsExpanded="True" >
					<TreeViewItem Header="Postes"/>
					<TreeViewItem Header="Comptes"/>
                </TreeViewItem>
                <TreeViewItem Header="Parametres" />
                <TreeViewItem Header="Composants" Name="ActionTreeViewItem" >
                    <TreeViewItem.ContextMenu>
                        <ContextMenu>
                            <MenuItem  Header="Creer une nouvelle action" Click="NewActionMenuItem_Click"/>
                            <MenuItem Header="Importer des actions" />
                        </ContextMenu>
                    </TreeViewItem.ContextMenu>
                </TreeViewItem>

            </TreeViewItem>
		</TreeView>
	</Grid>
</UserControl>
